home *** CD-ROM | disk | FTP | other *** search
/ Trading on the Edge / Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin / mac / Mac_Files / Vendor Demos / HiQ / HiQ•Help / HiQ•Help.rsrc / PICT_10807_Optimization pg 7.png < prev    next >
Portable Network Graphic  |  1992-04-28  |  52KB  |  816x1056  |  8-bit (255 colors)
Labels: book | chat room | crt screen | monitor | reckoner | sky | web site
OCR: OPTIMIZER SAMPLE SCRIPTS Example Determine the minimum of the function: (X1-2) 4+(x2) (x 2+1)2 and its location. The exact value of the minimum value is zero; the optimizing vector r is (2, -1). Problem Script: BFGS: project optFct; local tolerance maxiterations dimension update eType; tolerance 1.0e-10; maxlterations 200 dimensi ion updateType initVector {1,1}; function optFct(x) return ((x[1]-2) 4+x[1]-2 ^2*x[2]^2+(x[2]+1)^2); end function; [min Value optVector] OptBFGS(optFct, dimension, initVector, tolerance maxlterations updateType);